home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / DataFormatException.java < prev    next >
Text File  |  1998-09-22  |  2KB  |  49 lines

  1. /*
  2.  * @(#)DataFormatException.java    1.5 96/11/23
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. package java.util.zip;
  24.  
  25. /**
  26.  * Signals that a data format error has occurred.
  27.  *
  28.  * @version     1.5, 11/23/96
  29.  * @author     David Connelly
  30.  */
  31. public
  32. class DataFormatException extends Exception {
  33.     /**
  34.      * Constructs a DataFormatException with no detail message.
  35.      */
  36.     public DataFormatException() {
  37.     super();
  38.     }
  39.  
  40.     /**
  41.      * Constructs a DataFormatException with the specified detail message.
  42.      * A detail message is a String that describes this particular exception.
  43.      * @param s the String containing a detail message
  44.      */
  45.     public DataFormatException(String s) {
  46.     super(s);
  47.     }
  48. }
  49.